package com.joker.orange.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 热搜和历史视图对象 t_hot_search_history
 *
 * @author Joker
 * @date 2024-07-04
 */
@Data
@ExcelIgnoreUnannotated
public class HotSearchHistoryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 订单名称
     */
    @ExcelProperty(value = "订单名称")
    private String searchName;

    /**
     * 热搜类型（0-热搜词、1-搜索历史词）
     */
    @ExcelProperty(value = "热搜类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-热搜词、1-搜索历史词")
    private String searchType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
